home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / Timing / UpTime17.lha / UpTime / install / AddSlash next >
Encoding:
AmigaDOS Script File  |  1993-09-23  |  587 b   |  23 lines

  1. .key mypath/a
  2. ;
  3. ;   $VER: AddSlash 1.0 (23.09.93)
  4. ;
  5. ;   Written 20. September 1993 by J.Matern
  6. ;   This file is part of the 'UpTime'-package © by Jürgen Matern.
  7. ;   The package may be redistributed under limitations discribed
  8. ;   in the file 'UpTime.doc' which should have come with this
  9. ;   distribution. Read this file for more information!
  10. ;
  11. ;   Last changed: 23. September 1993
  12. ;
  13. set mypath "<mypath>"
  14. set lastchar `echo "$mypath" len 1`
  15. if not $lastchar eq /
  16.    if not $lastchar eq :
  17.       set mypath `echo "$mypath/"`
  18.    endif
  19. endif
  20. echo $mypath noline
  21. unset lastchar
  22. unset mypath
  23.